{% extends 'layout.html' %}
{% block content %}
<div class="row-fluid">
    <div class="span12" style="margin-top: 15px;">
        <form action="{{ url_for('change_preferences') }}" method="POST">
            {{ form.email(class="block-item big-input",value =current_user.email) }}
            {{ form.password(class="block-item big-input", placeholder = "Password") }}
            {% if current_user.phone %}
              {{ form.phone(class="block-item big-input", value = current_user.phone) }}
            {% else %}
              {{ form.phone(class="block-item big-input", placeholder = "Phone number") }}
            {% endif %}
            {{ form.carrier(class="block-item big-input") }}
            {{ form.submit(class="btn btn-primary btn-large block-item") }}
        </form>
    </div>
</div>
{% endblock %}